<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <script type="text/javascript">
function load(str)       
{
    document.all.tframe.src="BundesligaServlet?button="+str;
   
}   


function autoResize(id){
    var newheight;
    var newwidth;
document.getElementById(id).height=0;
document.getElementById(id).width=0;
    if(document.getElementById){
        newheight=document.getElementById(id).contentWindow.document.body.scrollHeight;
        newwidth=document.getElementById(id).contentWindow.document.body.scrollWidth;
    }

newval=newwidth;
    document.getElementById(id).height= (newheight) + "px";
    document.getElementById(id).width= (newval) + "px";
}
//-->

function loadAddSpiele()
{
    document.all.tframe.src="addSpiel.jsp";
}
</script>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="favicon.ico" type="image/x-icon" href="favicon.ico">
        <link rel="stylesheet" type="text/css" href="style.css" />
    </head>
    <body bgcolor="#7a0409">
        
        <div class="navigation" align="left" style="width:9%;margin-top:4%;margin-left:2.5%; position:absolute;">
        <img src="bliga.png" width="100%">
        </div>
        <img src="bg1.png" width="75%" style=";margin-left:15%;position:absolute;">
        <img align="right" src="bg2.png" width="18%" style="margin-top:22%;margin-right:10%;">
        <div id="navigation" class="navigation" align="left" style="width:9%;margin-top:32%;margin-left:2.5%;position:absolute; ">
        <a href="javascript:load('Tabelle')" >Bundesliga Tabelle</a><br/>
        <a href="javascript:load('Spiele')">Spielplan</a><br/>
        <a href="javascript:load('Teams')">Teams</a> <br/>
        <a href="javascript:loadAddSpiele()">Spiel hinzuf&uuml;gen</a> 
        </div>
        <iframe  src="BundesligaServlet?button=Teams" id="tframe" class="frame"  onload="autoResize('tframe')" scrolling="yes"  name="view" align="left" border="" style="margin-top:4%;margin-left:18%;position:absolute;"/>
        
    </body>
           
</html>
